import { Module } from '@nestjs/common';
import { VideoHistoryService } from './video-history.service';
import { VideoHistoryController } from './video-history.controller';
import { VideoHistory } from 'src/entities/video-history.entity';
import { TypeOrmModule } from '@nestjs/typeorm';
import { User } from 'src/entities/user.entity';
import { Video } from 'src/entities/video.entity';
import { RecommendationModule } from '../recommendation/recommendation.module';

@Module({
  imports: [
    TypeOrmModule.forFeature([VideoHistory, User, Video]),
    RecommendationModule,
  ],
  controllers: [VideoHistoryController],
  providers: [VideoHistoryService],
  exports: [VideoHistoryService],
})
export class VideoHistoryModule {}
